package day4zy;

import java.util.Calendar;

public class Shijiemori {
    public static void main(String[] args) {
        Calendar mr = Calendar.getInstance();
        mr.set(2012,12,21);
        Calendar dq = Calendar.getInstance();
        System.out.println("末日毫秒："+mr.getTimeInMillis());
        System.out.println("当前毫秒"+dq.getTimeInMillis());
        System.out.println("距今："+(dq.getTimeInMillis()-mr.getTimeInMillis())/1000/60/60/24+"天");
    }
}
